/*
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2022-08-19 10:51:03
 * @LastEditors: sueRimn
 * @LastEditTime: 2022-10-27 17:27:55
 */


import elDragDialog from '@/directive/el-drag-dialog';
import '@/styles/index.scss'; // global css
import Element from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import '@/styles/element-variables.scss';
import Vue from 'vue';
import address from './api/address';
import api from './api/api';
import App from './App';
import i18n from './i18n/index';
import mixin from './mixins/index';
import router from './router';
import store from './store/index';
Vue.use(Element, {
  size: 'medium' // set element-ui default size
})
Vue.use(elDragDialog)
Vue.mixin(mixin)
Vue.config.productionTip = false
Vue.prototype.$http = api;
Vue.prototype.$address = address;
// Vue.prototype.$util = util;
//开发环境下引入mock 打包版本则不引入
// process.env.MOCK && require("./mock/index.js")
// require("./mock/index.js")

new Vue({
  el: '#app',
  router,
  i18n,
  store,
  components: { App },
  template: '<App/>'
})


